/*
 * @Autor: Kadia
 * @Date: 2021-07-01 07:20:11
 * @LastEditors: Kadia
 * @Connect: nefukadia@foxmail.com
 * @LastEditTime: 2021-07-02 18:45:47
 */
import Vue from 'vue'
import Router from 'vue-router'
import Index from '../pages/index/index'
import Login from '../pages/login/login'
import Manage from '../pages/manage/manage'
import Setting from '../pages/setting/setting'
import Register from '../pages/register/register'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index,
      meta:{
          title: '林大干饭人'
      }
    },
    {
      path: '/login',
      name: 'Login',
      component: Login,
      meta:{
        title: '登录'
    }
    },
    {
      path: '/manage',
      name: 'Manage',
      component: Manage,
      meta:{
          title: '订单管理'
      }
    },
    {
      path: '/setting',
      name: 'Setting',
      component: Setting,
      meta:{
          title: '设置'
      }
    },
    {
      path: '/register',
      name: 'Register',
      component: Register,
      meta:{
          title: '注册'
      }
    }
  ]
})
